import Vue from 'vue'
import {
  Button,
  Select,
  Row,
  Card,
  Image,
  Form,
  FormItem,
  Input,
  Checkbox,
  Dialog,
  MessageBox,
  Message,
  Container,
  Header,
  Aside,
  Main,
  Link,
  Menu,
  MenuItem,
  Breadcrumb,
  BreadcrumbItem,
} from 'element-ui'

Vue.component(Button.name, Button)
Vue.component(Select.name, Select)
Vue.component(Row.name, Row)
Vue.component(Card.name, Card)
Vue.component(Image.name, Image)
Vue.component(Form.name, Form)
Vue.component(FormItem.name, FormItem)
Vue.component(Input.name, Input)
Vue.component(Checkbox.name, Checkbox)
Vue.component(Dialog.name, Dialog)
Vue.component(Container.name, Container)
Vue.component(Header.name, Header)
Vue.component(Aside.name, Aside)
Vue.component(Main.name, Main)
Vue.component(Link.name, Link)
Vue.component(Menu.name, Menu)
Vue.component(MenuItem.name, MenuItem)
Vue.component(Breadcrumb.name, Breadcrumb)
Vue.component(BreadcrumbItem.name, BreadcrumbItem)

Vue.prototype.$confirm = MessageBox.confirm
Vue.prototype.$message = Message
